/* customer reset*/

body {
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  font-weight: 400;
  font-size: $font_size;
  color: $font_color;
}

a {
  color: $primary;
  text-decoration: none;

  &:hover,
  &:focus {
    color:lighten($primary,20%);
  }

  &:active {
    color: darken($primary,10%);
  }
}

h1, h2, h3, h4, h5, h6 {
  color: $font_color;
  font-weight: inherit;

  &:first-child {
    margin-top: 0;
  }

  &:last-child {
    margin-bottom: 0;
  }
}

h1 {
  font-size: $font_size + 6px;
}

h2 {
  font-size: $font_size + 4px;
}

h3 {
  font-size: $font_size + 2px;
}
h4, h5, h6, p {
  font-size: inherit;
}

p {
  line-height: 1.8;

  &:first-child {
    margin-top: 0;
  }

  &:last-child {
    margin-bottom: 0;
  }
}

sup, sub {
  font-size: $font_size - 1px;
}

small {
  font-size: $font_size - 2px;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.primary{background:$primary;}
.success{background:$success;}